package com.zhaoyuxi.redpack.service.impl;

import com.zhaoyuxi.redpack.entity.TbRedpack;
import com.zhaoyuxi.redpack.mapper.TbRedpackMapper;
import com.zhaoyuxi.redpack.service.ITbRedpackService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 赵玉玺
 * @since 2020-04-02
 */
@Service
public class TbRedpackServiceImpl extends ServiceImpl<TbRedpackMapper, TbRedpack> implements ITbRedpackService {

    @Override
    public TbRedpack getOne(Integer id) {
        return this.baseMapper.getOne(id);
    }
}
